<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>js画布</title>
    <link rel="stylesheet" href="index.css">
    <script src="jquery-3.4.1.js"></script>
    <script src="index.js"></script>
</head>
<style>
    canvas {
        border: 1px solid purple;
    }
</style>

<body>
    <div class="wrapper">
        <canvas class="cavs" width="1000" height="500">
    </canvas>
        <div class="btn-list">
            <li><input type="color" value="color"></li>
            <li><input type="button" value="清屏"></li>
            <li><input type="button" value="橡皮"></li>
            <li><input type="button" value="撤销"></li>
            <li><input type="range" class="range" value="线条" min="1" max="30"></li>
        </div>
    </div>

</body>

</html>